package cn.echase.ecare.yinfayun.domain.vo;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;
import java.util.Date;
import java.util.List;

/**
 * 长者管理操作返回实体类
 **/
@Data
public class UcElderlyPatientsVo {

    private Integer id;

    private String ucId;

    private String orgId;

    // 收费标准id
    private String chargeId;
    // 收费标准名称
    private String chargeName;

    private String orgName;

    private String name;

    private Integer type;

    private String pinyin;

    private Integer sex;

    private String identifier;

    private Integer idType;

    private String idNumber;

    private Date birthDate;

    private Integer nation;

    private Integer nativePlace;

    private Integer medicalInsuranceCategory;

    private String socialSecurityNumber;

    private String province;

    private String city;

    private String county;

    private String address;

    private Float longitude;

    private Float latitude;

    private String remark;

    private String mobile;

    private String tel;

    private Boolean status;

    private Date admissionTime;

    private Date addTime;

    private Date updateTime;

    private Boolean deleted;

    private String patrolId;

    //余额
    private Integer balance;

    // 通知日期
    private Integer billDay;
    // 提前收费通知天数
    private Integer noticeDay;

    // 入住时电量
    private Float stayElectric;
    // 使用电量
    private Float useElectric;

    private String qrCode;

    private String bedId;


    private String roomId;

    private String bedName;

    /**
     * 仅床位名称
     */
    private String bedNameNoAllName;

    private String roomName;
    private String floorName;
    private String buildingName;

    private List<UcEldStaffVo> ucEldStaffVos;

    private List<UcDependentsVo> ucDependentsVos;

    //巡检策略名称
    private String patrolName;

    private Date startTime;

    private Integer patrolTime;

    private Boolean bandUser;

    private String content;

    private String handleOrgName;


    /**
     * 长者档案id
     */
    private String archivalId;

    /**
     * 一卡通号码
     */
    private String cardNumber;

    //获取长者的消费笔数
    private Integer consumeNum;

    //获取长者最后一次巡检信息
    private JSONObject inspectionJson;

    //获取长者最后一次外出
    private JSONObject outJson;

    //获取长者的最后一次呼叫信息
    private JSONObject callJson;

    //血压心率
    private JSONObject BPJson;

    //血糖
    private JSONObject boJson;

    //血氧
    private JSONObject bsJson;

    private Date checkTime;
    private String tvSn;

    private UcRoomVo ucRoomVo;

    private DiningCodeVo diningCodeVo;

    /**
     * 是否开启预约 0否 1 是
     */

    private String isAppointment;

    private String guardianName;

    private String guardianTel;

    private Integer careLevel;


    /**
     * 照护等级id
     */
    private String careLevelId;

    /**
     * 照护等级名称
     */
    private String careLevelName;
    /**
     * 长护险等级名称
     */
    private String longTermCareLevelName;

    /***
     * 长护险等级
     */
    private Integer longTermCareLevel;
    /***
     * 长护险等级
     */
    private String longTermCareLevelId;

    private String checkOutReason;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date checkOutDate;
    private Integer age;


    private String discount;


    private LocalDate contractExpiryDate;

    /**
     * 老人外出约定：1、自由外出（责任自负）、2、不同意老人自由外出
     */
    private Integer outAppoint;

    private String picPath;

    /**
     * 是否开通钱包功能
     */
    private Boolean openWallet;
}
